54 WDT_A_hold(WDT_A_BASE);
61 Timer_B_clearTimerInterrupt(TIMER_B0_BASE);
63 Timer_B_initContinuousModeParam
param = {0};
64 param.clockSource = TIMER_B_CLOCKSOURCE_ACLK;
65 param.clockSourceDivider = TIMER_B_CLOCKSOURCE_DIVIDER_1;
66 param.timerInterruptEnable_TBIE = TIMER_B_TBIE_INTERRUPT_ENABLE;
67 param.timerClear = TIMER_B_DO_CLEAR;
68 param.startTimer =
false;
69 Timer_B_initContinuousMode(TIMER_B0_BASE, &
param);
71 Timer_B_startCounter( TIMER_B0_BASE,
72 TIMER_B_CONTINUOUS_MODE
75 __bis_SR_register(LPM3_bits + GIE);
80 #if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
81 #pragma vector=TIMERB1_VECTOR
83 #elif defined(__GNUC__)
84 __attribute__((interrupt(TIMERB1_VECTOR)))
90 switch( __even_in_range(TBIV,14) )
101 GPIO_toggleOutputOnPin(
MPU_initThreeSegmentsParam param